projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa5c399
)
filechooserwidget: Avoid a gtk_widget_destroy
author
Timm Bäder
<mail@baedert.org>
Tue, 7 Mar 2017 17:11:26 +0000
(18:11 +0100)
committer
Timm Bäder
<mail@baedert.org>
Mon, 13 Mar 2017 11:08:58 +0000
(12:08 +0100)
gtk/gtkfilechooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserwidget.c
b/gtk/gtkfilechooserwidget.c
index d49d247e5bc9cabb2649f02a67f625c9788570f5..292d50f53341c82458bb37328b6f4ee2b7794520 100644
(file)
--- a/
gtk/gtkfilechooserwidget.c
+++ b/
gtk/gtkfilechooserwidget.c
@@
-2743,7
+2743,8
@@
location_switch_to_path_bar (GtkFileChooserWidget *impl)
if (priv->location_entry)
{
- gtk_widget_destroy (priv->location_entry);
+ gtk_container_remove (GTK_CONTAINER (gtk_widget_get_parent (priv->location_entry)),
+ priv->location_entry);
priv->location_entry = NULL;
}